Implements IPipelineComponentUI

Private Sub IPipelineComponentUI_ShowProperties(ByVal pdispComponent As Object)
    On Error GoTo HandleError

    'Use IPipelineComponentAdmin Interface to get configuration information
    Dim pdispPCA As IPipelineComponentAdmin
    Set pdispPCA = pdispComponent

    'Populate a dictionary with component configuration
    Dim dictConfig As CDictionary
    Set dictConfig = pdispPCA.GetConfigData

    Dim <FormName>Obj As New <FormName>
    'Display the properties for the user to edit
<GetProperties>

    <FormName>Obj.Show 1

    If <FormName>Obj.fOK Then
        'Save entered values into the dictionary
<SetProperties>

        'Update the component with new configuration information
        pdispPCA.SetConfigData dictConfig
    End If

    Set pdispPCA = Nothing
    Set dictConfig = Nothing

    Exit Sub

HandleError:
    MsgBox Err.Description & " " & Err.Number
End Sub